﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Hydra.UrlMon.Enumerations
{
    /// <summary>Contains values that specify an action, such as an HTTP request, to be performed during the binding operation.</summary>
    /// <remarks>Values from the BINDVERB enumeration are passed to the moniker as part of the BINDINFO structure. The moniker calls the IBindStatusCallback::OnProgress method on the client to obtain additional information about the bind operation in the BINDINFO structure.</remarks>
    public enum BindVerb : int
    {
        /// <summary>Perform an HTTP GET operation, the default operation. The stgmedData member of the BINDINFO structure should be set to TYMED_NULL for the GET operation.</summary>
        GET = 0,
        /// <summary>Perform an HTTP POST operation. The data to be posted should be specified in the stgmedData member of the BINDINFO structure.</summary>
        POST = 0x1,
        /// <summary>Perform an HTTP PUT operation. The data to put should be specified in the stgmedData member of the BINDINFO structure.</summary>
        PUT = 0x2,
        /// <summary>Perform a custom operation that is protocol-specific. See the szCustomVerb member of the BINDINFO structure. The data to be used in the custom operation should be specified in the stgmedData structure.</summary>
        CUSTOM = 0x3
    }
}
